xen.git
19 years agomerge with xen-ia64-unstable.hg
awilliam@xenbuild2.aw [Fri, 15 Dec 2006 18:32:58 +0000 (11:32 -0700)]
merge with xen-ia64-unstable.hg

19 years ago[IA64] Use machine vector for global tlb purge
awilliam@xenbuild2.aw [Fri, 15 Dec 2006 17:59:33 +0000 (10:59 -0700)]
[IA64] Use machine vector for global tlb purge

Switch to using the platform vector for global tlb purges. In fact
nothing should be calling ia64_global_tlb_purge() directly.

Signed-off-by: Jes Sorensen <jes@sgi.com>
19 years ago[IA64] remove global zero initializers
awilliam@xenbuild2.aw [Fri, 15 Dec 2006 17:49:11 +0000 (10:49 -0700)]
[IA64] remove global zero initializers

No need to init global variables to zero as it will place them in the
data segment rather than the bss segment.

Signed-off-by: Jes Sorensen <jes@sgi.com>
19 years ago[TOOLS] USe -mno-direct-seg-refs when building on i386.
kfraser@localhost.localdomain [Fri, 15 Dec 2006 11:53:45 +0000 (11:53 +0000)]
[TOOLS] USe -mno-direct-seg-refs when building on i386.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix mem-set, mem-max, and vcpu-set commands when used against inactive domains.
Ewan Mellor [Fri, 15 Dec 2006 11:50:04 +0000 (11:50 +0000)]
Fix mem-set, mem-max, and vcpu-set commands when used against inactive domains.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years agoUse new -p flag to qcow-create.
Ewan Mellor [Fri, 15 Dec 2006 11:48:40 +0000 (11:48 +0000)]
Use new -p flag to qcow-create.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoClean-up hvm/shadow interaction around cr3 updates.
Steven Hand [Fri, 15 Dec 2006 11:47:24 +0000 (11:47 +0000)]
Clean-up hvm/shadow interaction around cr3 updates.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoFix more enum demarshalling.
Ewan Mellor [Fri, 15 Dec 2006 11:33:50 +0000 (11:33 +0000)]
Fix more enum demarshalling.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdded a test for xen_vm_get_power_state.
Ewan Mellor [Fri, 15 Dec 2006 11:00:04 +0000 (11:00 +0000)]
Added a test for xen_vm_get_power_state.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[IA64] SN2 warning fixes
awilliam@xenbuild2.aw [Thu, 14 Dec 2006 20:29:17 +0000 (13:29 -0700)]
[IA64] SN2 warning fixes

Mainly unused variable removal

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] Machvec warning fixes
awilliam@xenbuild2.aw [Thu, 14 Dec 2006 20:25:49 +0000 (13:25 -0700)]
[IA64] Machvec warning fixes

The compiler doesn't like using machvec_noop for everything

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] Move machvec.h to linux-xen
awilliam@xenbuild2.aw [Thu, 14 Dec 2006 20:23:33 +0000 (13:23 -0700)]
[IA64] Move machvec.h to linux-xen

Necessary to clean up warnings

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] Use sn_sal.h directly from upstream Linux
awilliam@xenbuild2.aw [Thu, 14 Dec 2006 18:01:37 +0000 (11:01 -0700)]
[IA64] Use sn_sal.h directly from upstream Linux

Take a straight copy of sn_sal.h from linux 2.6.19 - there is no reason
to hide parts of this file as it's all macros and inline functions

Signed-off-by: Jes Sorensen <jes@sgi.com>
19 years agoFix VM.get_power_state API. On the xend side an integer representation of the power...
jfehlig@jfehlig2.provo.novell.com [Thu, 14 Dec 2006 01:06:48 +0000 (18:06 -0700)]
Fix VM.get_power_state API.  On the xend side an integer representation of the power state was being returned instead of a string representation as specified by the XenAPI spec.

On the c-bindings side the marshalling code converts the string representation to an enum value.  A subsequent attempt to convert the enum from a string to an enum was causing a seg fault.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
19 years ago[XM] Fix network-attach help message.
kfraser@localhost.localdomain [Fri, 15 Dec 2006 09:52:19 +0000 (09:52 +0000)]
[XM] Fix network-attach help message.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years agoFix check_udev in the case where udev is missing -- test's -a does not shortcut.
Ewan Mellor [Fri, 15 Dec 2006 09:50:33 +0000 (09:50 +0000)]
Fix check_udev in the case where udev is missing -- test's -a does not shortcut.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoRevert Makefile changes from 13023:70155087efe89 -- they break make dist.
Ewan Mellor [Fri, 15 Dec 2006 09:39:26 +0000 (09:39 +0000)]
Revert Makefile changes from 13023:70155087efe89 -- they break make dist.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[NET]: Fix segmentation of linear packets
kfraser@localhost.localdomain [Fri, 15 Dec 2006 09:38:56 +0000 (09:38 +0000)]
[NET]: Fix segmentation of linear packets

skb_segment fails to segment linear packets correctly because it
tries to write all linear parts of the original skb into each
segment.  This will always panic as each segment only contains
enough space for one MSS.

This was not detected earlier because linear packets should be
rare for GSO.  In fact it still remains to be seen what exactly
created the linear packets that triggered this bug.  Basically
the only time this should happen is if someone enables GSO
emulation on an interface that does not support SG.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[XEN] Clean up list.h for Xen formatting rules and add hlist macros
kfraser@localhost.localdomain [Fri, 15 Dec 2006 09:29:15 +0000 (09:29 +0000)]
[XEN] Clean up list.h for Xen formatting rules and add hlist macros
from Linux kernel.
Based on a patch from Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoRemove unused function from check script.
kfraser@localhost.localdomain [Fri, 15 Dec 2006 09:17:41 +0000 (09:17 +0000)]
Remove unused function from check script.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoReplace the error message when invalid xm commands are given.
Ewan Mellor [Fri, 15 Dec 2006 09:08:41 +0000 (09:08 +0000)]
Replace the error message when invalid xm commands are given.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix exit status for failed commands, and tidy up the usage display.
Ewan Mellor [Fri, 15 Dec 2006 02:01:38 +0000 (02:01 +0000)]
Fix exit status for failed commands, and tidy up the usage display.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix 64-bit build with a PRIu64.
Ewan Mellor [Fri, 15 Dec 2006 01:42:31 +0000 (01:42 +0000)]
Fix 64-bit build with a PRIu64.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoUpdated test to match new booting arrangement.
Ewan Mellor [Thu, 14 Dec 2006 18:30:35 +0000 (18:30 +0000)]
Updated test to match new booting arrangement.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix exception handling in xend start-of-day.
Steven Hand [Thu, 14 Dec 2006 20:58:27 +0000 (20:58 +0000)]
Fix exception handling in xend start-of-day.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoAdd sparseness flag to qcow-create.
Julian Chesterfield [Thu, 14 Dec 2006 20:23:07 +0000 (20:23 +0000)]
Add sparseness flag to qcow-create.

For environments where space must be guaranteed in advance
use the -p flag to remove sparseness from the qcow file.

Signed-off-by: Julian Chesterfield <julian@xensource.com>
19 years agoRemove the boot-type implementation -- now replaced by the HVM and PV boot
Ewan Mellor [Thu, 14 Dec 2006 18:24:41 +0000 (18:24 +0000)]
Remove the boot-type implementation -- now replaced by the HVM and PV boot
configuration.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoImplement new booting parameters for Xen-API, and backwards compatibility for
Ewan Mellor [Thu, 14 Dec 2006 18:24:14 +0000 (18:24 +0000)]
Implement new booting parameters for Xen-API, and backwards compatibility for
the old bootloader settings.

We now have two mutually exclusive config groups HVM and PV, with HVM/boot
and PV/{bootloader,kernel,ramdisk,args,bootloader_args}.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoStub implementations of VM.auto_power_on, VM.consoles.
Ewan Mellor [Thu, 14 Dec 2006 17:43:41 +0000 (17:43 +0000)]
Stub implementations of VM.auto_power_on, VM.consoles.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoRemove a number of unused configuration dictionaries -- these have all
Ewan Mellor [Thu, 14 Dec 2006 17:37:29 +0000 (17:37 +0000)]
Remove a number of unused configuration dictionaries -- these have all
moved into XendConfig now.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix calls to destroyDevice that are missing a force flag.
Ewan Mellor [Thu, 14 Dec 2006 15:32:44 +0000 (15:32 +0000)]
Fix calls to destroyDevice that are missing a force flag.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdd some exception logging.
Ewan Mellor [Thu, 14 Dec 2006 15:10:47 +0000 (15:10 +0000)]
Add some exception logging.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdded xm shell command, taken from xapi.py, to make testing the Xen-API calls
Ewan Mellor [Thu, 14 Dec 2006 14:54:24 +0000 (14:54 +0000)]
Added xm shell command, taken from xapi.py, to make testing the Xen-API calls
a little easier.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoHave a 1GiB disk rather than 1MiB, for a slightly more sensible test.
Ewan Mellor [Thu, 14 Dec 2006 14:50:35 +0000 (14:50 +0000)]
Have a 1GiB disk rather than 1MiB, for a slightly more sensible test.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoMerge with xen-ia64-unstable.hg
kfraser@localhost.localdomain [Thu, 14 Dec 2006 18:22:58 +0000 (18:22 +0000)]
Merge with xen-ia64-unstable.hg

19 years agoTidy up.
Ewan Mellor [Thu, 14 Dec 2006 17:25:38 +0000 (17:25 +0000)]
Tidy up.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[IA64][HVM] Use vcpu info from getdomaininfo
awilliam@xenbuild2.aw [Thu, 14 Dec 2006 16:56:41 +0000 (09:56 -0700)]
[IA64][HVM] Use vcpu info from getdomaininfo

This replaces the get/set_param using HVM_PARAM_VCPUS

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[XEN] Provide PV guests with emulated PIT.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 16:27:10 +0000 (16:27 +0000)]
[XEN] Provide PV guests with emulated PIT.
This is needed for some video-controller BIOSes which use PIT channel
2 for delay loops.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
19 years ago[TOOLS] Fix check-script compatibility with non-bash shells.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 16:00:31 +0000 (16:00 +0000)]
[TOOLS] Fix check-script compatibility with non-bash shells.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Thu, 14 Dec 2006 15:57:36 +0000 (08:57 -0700)]
merge with xen-unstable.hg

19 years ago[IA64][BUILD] XEN_XKBUFF needs to depend on NET
awilliam@xenbuild2.aw [Thu, 14 Dec 2006 15:54:54 +0000 (08:54 -0700)]
[IA64][BUILD] XEN_XKBUFF needs to depend on NET

Signed-Off-By: Simon Horman <horms@verge.net.au>
19 years ago[XEN] Fix memory allocator after recent bootmem change.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 15:43:40 +0000 (15:43 +0000)]
[XEN] Fix memory allocator after recent bootmem change.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TOOLS] A couple of check-script cleanups.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 15:12:38 +0000 (15:12 +0000)]
[TOOLS] A couple of check-script cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[KEXEC] Clean up kexec code and fix panic-induced reboot when
kfraser@localhost.localdomain [Thu, 14 Dec 2006 15:06:22 +0000 (15:06 +0000)]
[KEXEC] Clean up kexec code and fix panic-induced reboot when
kdump is not in use.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdd another package check (python-xml).
kfraser@localhost.localdomain [Thu, 14 Dec 2006 14:13:18 +0000 (14:13 +0000)]
Add another package check (python-xml).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoFix deadlock when accessing IO memory.
Steven Hand [Thu, 14 Dec 2006 12:35:23 +0000 (12:35 +0000)]
Fix deadlock when accessing IO memory.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years ago[NET] front: Fix crashes when xenstore watches fire multiple times.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 12:21:28 +0000 (12:21 +0000)]
[NET] front: Fix crashes when xenstore watches fire multiple times.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Boot allocator searches from earliest registered
kfraser@localhost.localdomain [Thu, 14 Dec 2006 12:02:30 +0000 (12:02 +0000)]
[XEN] Boot allocator searches from earliest registered
memory region instead of 0.

Based on a patch from Jes Sorensen <jes@sgi.com> which
massively improves boot time on SGI Altix systems.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XM] Fix typo in 'xm vcpu-list' header.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 11:39:40 +0000 (11:39 +0000)]
[XM] Fix typo in 'xm vcpu-list' header.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
19 years ago[XENFB] No need for IRQs to be disabled in critical regions.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 11:37:14 +0000 (11:37 +0000)]
[XENFB] No need for IRQs to be disabled in critical regions.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LINUX] Fix seg-fixup warning.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 11:09:27 +0000 (11:09 +0000)]
[LINUX] Fix seg-fixup warning.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Spot incorrect use of lXe_write & Co.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 10:49:54 +0000 (10:49 +0000)]
[XEN] Spot incorrect use of lXe_write & Co.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[LINUX] Fix build without CONFIG_HOTPLUG_CPU
kfraser@localhost.localdomain [Thu, 14 Dec 2006 10:32:38 +0000 (10:32 +0000)]
[LINUX] Fix build without CONFIG_HOTPLUG_CPU
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoSet FD_CLOEXEC on the pidfile fd, so that tapdisk does not get it.
Ewan Mellor [Thu, 14 Dec 2006 10:31:31 +0000 (10:31 +0000)]
Set FD_CLOEXEC on the pidfile fd, so that tapdisk does not get it.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAllow loading of ELF kernel images that support both PAE and non-PAE.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 10:29:44 +0000 (10:29 +0000)]
Allow loading of ELF kernel images that support both PAE and non-PAE.
Also change the elf loader to not look for a strings section unless it
is needed.
Signed-off-by: Bruce Rogers <brogers@novell.com>
19 years ago[IA64] enable build of sn2 + machvec support
awilliam@xenbuild2.aw [Wed, 13 Dec 2006 22:23:28 +0000 (15:23 -0700)]
[IA64] enable build of sn2 + machvec support

Signed-off-by: Jes Sorensen <jes@sgi.com>
19 years ago[IA64] Updates to new files to be able to build sn2 and machvec support.
awilliam@xenbuild2.aw [Wed, 13 Dec 2006 22:22:25 +0000 (15:22 -0700)]
[IA64] Updates to new files to be able to build sn2 and machvec support.

Signed-off-by: Jes Sorensen <jes@sgi.com>
19 years agoHack xm block-detach to remove tap disks as well as vbds.
Ewan Mellor [Wed, 13 Dec 2006 20:43:47 +0000 (20:43 +0000)]
Hack xm block-detach to remove tap disks as well as vbds.

This isn't very pretty -- a better solution would be nice.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[Xend] Add a --force option to detach operations.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 10:17:37 +0000 (10:17 +0000)]
[Xend] Add a --force option to detach operations.

In some situations triggered by errors found on guest side,
the device will be held forever, due to the online flag being still
on. Detach operations mostly fails from this point on, as the backend
will not see frontend's state change anymore.

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
19 years agoFix typos in the external-device migrate script.
kfraser@localhost.localdomain [Thu, 14 Dec 2006 10:01:17 +0000 (10:01 +0000)]
Fix typos in the external-device migrate script.

19 years ago[XEND] Activate a declared external device migration script for all devices and all...
kfraser@localhost.localdomain [Thu, 14 Dec 2006 10:00:56 +0000 (10:00 +0000)]
[XEND] Activate a declared external device migration script for all devices and all save modes.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
19 years ago[IA64] Update sn_sal.h to 2.6.19
awilliam@xenbuild2.aw [Wed, 13 Dec 2006 19:23:53 +0000 (12:23 -0700)]
[IA64] Update sn_sal.h to 2.6.19

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] fix build with sn2 and machvec support
awilliam@xenbuild2.aw [Wed, 13 Dec 2006 18:18:16 +0000 (11:18 -0700)]
[IA64] fix build with sn2 and machvec support

Initial changes to make tree build again after applying new files for
sn2 and machvec support, without actually enabling the new features

Signed-off-by: Jes Sorensen <jes@sgi.com>
19 years ago[IA64] add new dummy files needed to build sn2 and machvec support
awilliam@xenbuild2.aw [Wed, 13 Dec 2006 18:11:32 +0000 (11:11 -0700)]
[IA64] add new dummy files needed to build sn2 and machvec support

Signed-off-by: Jes Sorensen <jes@sgi.com>
19 years ago[IA64] new files from Linux 2.6.19 required for SN2 and machvec support
awilliam@xenbuild2.aw [Wed, 13 Dec 2006 18:08:40 +0000 (11:08 -0700)]
[IA64] new files from Linux 2.6.19 required for SN2 and machvec support

Signed-off-by: Jes Sorensen <jes@sgi.com>
19 years ago[XEN] Improve scheduler cap mechanism
Emmanuel Ackaouy [Wed, 13 Dec 2006 16:13:26 +0000 (16:13 +0000)]
[XEN] Improve scheduler cap mechanism
Somewhat unbastardize the scheduler cap mechanism. We now cleanly
pause and unpause running VCPUs of capped out domains instead of
using sub-idle priorities. This also improves the precision of
caps a bit.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
19 years ago[XEN] Make TRC_MEM's bits unique.
George Dunlap [Wed, 13 Dec 2006 15:20:20 +0000 (10:20 -0500)]
[XEN] Make TRC_MEM's bits unique.

Signed-off-by: George Dunlap <gdunlap@xensource.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Tue, 12 Dec 2006 22:25:02 +0000 (15:25 -0700)]
merge with xen-unstable.hg

19 years ago[IA64] Fix typo : npte not defined
awilliam@xenbuild2.aw [Tue, 12 Dec 2006 22:23:51 +0000 (15:23 -0700)]
[IA64] Fix typo : npte not defined

new_pte is what we want here.

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
19 years agoWhen enumerating VMs resident on a host (Host.get_resident_VMs RPC), ensure VMs with...
jfehlig@jfehlig2.provo.novell.com [Mon, 11 Dec 2006 20:07:20 +0000 (13:07 -0700)]
When enumerating VMs resident on a host (Host.get_resident_VMs RPC), ensure VMs with same UUID only appear once in the list.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
19 years agoAllow adding VIF devices to a VM when in halted state. Do not attempt to create...
jfehlig@jfehlig2.provo.novell.com [Tue, 12 Dec 2006 22:28:23 +0000 (15:28 -0700)]
Allow adding VIF devices to a VM when in halted state.  Do not attempt to create the VIF device if VM is in halted state.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
19 years agoSteal the write_pidfile function from xenstored_core, and use it to ensure
Ewan Mellor [Wed, 13 Dec 2006 11:23:01 +0000 (11:23 +0000)]
Steal the write_pidfile function from xenstored_core, and use it to ensure
that blktapctrl only starts once.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoCheck return of new_domain inside dom0_init, avoiding segfault if there is
Ewan Mellor [Wed, 13 Dec 2006 11:13:08 +0000 (11:13 +0000)]
Check return of new_domain inside dom0_init, avoiding segfault if there is
a second instance of xenstored running (and we're using different pid files).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[XEN] Remove unnecessary shadow_mode_refcount() code from PV mm code.
kfraser@localhost.localdomain [Mon, 11 Dec 2006 15:06:53 +0000 (15:06 +0000)]
[XEN] Remove unnecessary shadow_mode_refcount() code from PV mm code.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[BUILDER] Enable shadow mode for shadow translate guests much earlier.
Ian Campbell [Mon, 11 Dec 2006 11:57:36 +0000 (11:57 +0000)]
[BUILDER] Enable shadow mode for shadow translate guests much earlier.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[NET] back: Atomic buffer allocations use __GFP_NOWARN.
kfraser@localhost.localdomain [Mon, 11 Dec 2006 09:56:02 +0000 (09:56 +0000)]
[NET] back: Atomic buffer allocations use __GFP_NOWARN.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoTidy error message.
Ewan Mellor [Sat, 9 Dec 2006 19:24:46 +0000 (19:24 +0000)]
Tidy error message.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoImplement xen_vm_set_vcpus_number,
Ewan Mellor [Sat, 9 Dec 2006 17:16:52 +0000 (17:16 +0000)]
Implement xen_vm_set_vcpus_number,
xen_vm_{add,remove}_vcpus_features_force{on,off}.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[XEN] Shadow-mode-refcount PTE update fix.
kaf24@localhost.localdomain [Sat, 9 Dec 2006 16:29:52 +0000 (16:29 +0000)]
[XEN] Shadow-mode-refcount PTE update fix.

Add back in support for emulated PTE updates which is critical for
shdow_refcount operation.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agopygrub tmp files should live in /var/run/ not /var/lib/, as they are
kaf24@localhost.localdomain [Sat, 9 Dec 2006 15:04:27 +0000 (15:04 +0000)]
pygrub tmp files should live in /var/run/ not /var/lib/, as they are
indeed runtime only.

Also fix a race condition in making the pygrub fifo.

Signed-off-by: John Levon <john.levon@sun.com>
19 years agoMerge with xen-ia64-unstable.hg
kaf24@localhost.localdomain [Sat, 9 Dec 2006 14:34:53 +0000 (14:34 +0000)]
Merge with xen-ia64-unstable.hg

19 years ago[qemu patches] Update patches upto changeset 12814:c3ad3fcfe3.
Christian Limpach [Fri, 8 Dec 2006 18:37:19 +0000 (18:37 +0000)]
[qemu patches] Update patches upto changeset 12814:c3ad3fcfe3.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[IA64] avoid freeing arch.privregs twice
awilliam@xenbuild2.aw [Fri, 8 Dec 2006 18:31:29 +0000 (11:31 -0700)]
[IA64] avoid freeing arch.privregs twice

Not sure how this worked before, but mapping vcpu regs into
guest pseudo phys space causes extra problems.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[qemu patches] Update patches upto changeset 12756:1d32fb45e0.
Christian Limpach [Fri, 8 Dec 2006 18:31:01 +0000 (18:31 +0000)]
[qemu patches] Update patches upto changeset 12756:1d32fb45e0.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[IA64] change XEN_DOMCTL_getmemlist to return gmfn instead of mfn
awilliam@xenbuild2.aw [Fri, 8 Dec 2006 16:32:15 +0000 (09:32 -0700)]
[IA64] change XEN_DOMCTL_getmemlist to return gmfn instead of mfn

This patch tries to get 'xm dump-core' work on ia64 again.
With this patch, 'xm dump-core' results in creating core-dump file
as before with a slight format changes.
(machine address array -> pseudo physicall address array)
However xm dump-core has been broken on ia64 since
XEN_DOMCTL_getmemlist/ia64 is differenct from x86's.
This patch does NOT fix it.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years agoxm block-attach can take an optional 5th argument, show it in the help.
john.levon@sun.com [Fri, 8 Dec 2006 15:22:21 +0000 (07:22 -0800)]
xm block-attach can take an optional 5th argument, show it in the help.

Signed-off-by: John Levon <john.levon@sun.com>
19 years ago[LIBXC] Make strerror() thread-safe by protecting it with a mutex.
kfraser@localhost.localdomain [Fri, 8 Dec 2006 15:59:30 +0000 (15:59 +0000)]
[LIBXC] Make strerror() thread-safe by protecting it with a mutex.
Using strerror_r() is made difficult by the different GNU definition,
and different distros variously choose the POSIX or GNU prototype.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEND] Keep vif IP addresses as space separated string.
Alastair Tse [Fri, 8 Dec 2006 13:31:21 +0000 (13:31 +0000)]
[XEND] Keep vif IP addresses as space separated string.

They were inconsistently represented as strings or lists making it
difficult to know the type of the IP parameter for vifs. Since both xm
and DevController represents these as space separated strings, that is
what it will be stored as.

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[XEND] Make sure UUID is in the right format.
Alastair Tse [Fri, 8 Dec 2006 13:28:22 +0000 (13:28 +0000)]
[XEND] Make sure UUID is in the right format.

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[LIBXC] Clean up use of sterror(). Define a thread-safe
kfraser@localhost.localdomain [Fri, 8 Dec 2006 11:57:06 +0000 (11:57 +0000)]
[LIBXC] Clean up use of sterror(). Define a thread-safe
version which uses strerror_r(), and tries to cope with
the POSIX and GNU versions of that function.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LINUX] Kexec: Remove remainder of kexec-generic.patch
Ian Campbell [Fri, 8 Dec 2006 11:47:09 +0000 (11:47 +0000)]
[LINUX] Kexec: Remove remainder of kexec-generic.patch

Rename xen_machine_kexec() to just machine_kexec() and only compile in
the Xen or native version as appropriate.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[LINUX] Kexec: Reapply kexec patches to sparse tree.
Ian Campbell [Fri, 8 Dec 2006 11:47:09 +0000 (11:47 +0000)]
[LINUX] Kexec: Reapply kexec patches to sparse tree.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[LINUX] Kexec: add kexec files to sparse tree.
Ian Campbell [Fri, 8 Dec 2006 11:47:09 +0000 (11:47 +0000)]
[LINUX] Kexec: add kexec files to sparse tree.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[LINUX] kexec: remove patches which are not straight backports.
Ian Campbell [Fri, 8 Dec 2006 11:47:09 +0000 (11:47 +0000)]
[LINUX] kexec: remove patches which are not straight backports.

Their contents will be added to the sparse tree in a subsequent patch.

Changes to kernel/sys.c in kexec-generic.patch remain for now. These
will be taken care of in a later patch.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[LINUX] Kexec: Do not bug if a kexec hypercall fails.
Ian Campbell [Fri, 8 Dec 2006 11:46:48 +0000 (11:46 +0000)]
[LINUX] Kexec: Do not bug if a kexec hypercall fails.

This is non fatal since we can recover and boot without kexec
functionality.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Implement XENMEM_set_memory_map, which specifies memory map to
kfraser@localhost.localdomain [Fri, 8 Dec 2006 11:30:30 +0000 (11:30 +0000)]
[XEN] Implement XENMEM_set_memory_map, which specifies memory map to
be returned by XENMEM_memory_map. Hook this into the domain builder.

Based on a patch by Glauber de Oliveira Costa <gcosta@redhat.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix capitalisation of on-wire calls for VM.set_platform_std_VGA and
Ewan Mellor [Fri, 8 Dec 2006 11:13:44 +0000 (11:13 +0000)]
Fix capitalisation of on-wire calls for VM.set_platform_std_VGA and
VM.set_otherConfig.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[XEND] Fix xm vcpu-set when decrementing VCPU count
Alastair Tse [Fri, 8 Dec 2006 11:08:26 +0000 (11:08 +0000)]
[XEND] Fix xm vcpu-set when decrementing VCPU count

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years agoRemove accidental double declaration of xen_vm_destroy.
Ewan Mellor [Fri, 8 Dec 2006 11:06:28 +0000 (11:06 +0000)]
Remove accidental double declaration of xen_vm_destroy.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoImplement the VM.auto_power_on field.
Ewan Mellor [Fri, 8 Dec 2006 10:59:18 +0000 (10:59 +0000)]
Implement the VM.auto_power_on field.

Signed-off-by: Ewan Mellor <ewan@xensource.com>